package com.zs.studentmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zs.studentmanager.entity.domain.StudentScore;
import com.zs.studentmanager.entity.vo.EchartsSeriesVo;
import com.zs.studentmanager.entity.vo.PageVo;
import com.zs.studentmanager.entity.vo.ScoreVo;

import java.util.List;

/**
* @author 周小白
* @description 针对表【s_student_score(学生成绩表)】的数据库操作Service
* @createDate 2024-01-19 19:58:37
*/
public interface StudentScoreService extends IService<StudentScore> {


    /**
     * 获取成绩列表
     * @param pageNum 页码
     * @param pageSize 每页数量
     * @param searchValue 搜索值
     * @return  成绩列表
     */
    PageVo<ScoreVo> getScoreList(
            Integer pageNum, Integer pageSize, String searchValue, Integer courseId, Integer gradeClassId
    );



    /**
     * 获取统计数据
     * @param courseId 课程id
     * @param gradeClassId 班级id
     * @return 统计数据
     */
    List<EchartsSeriesVo> getCensusData(Integer courseId, Integer gradeClassId);
}
